import request from '@/config/axios'

export const AttrApi = {
  // 新增属性
  createProperty: async (data: any) => {
    return await request.post({ url: '/admin-api/product/property/create', data })
  },
  // 获取属性列表
  getPropertyList: async (data: any) => {
    return await request.get({ url: '/admin-api/product/property/page', data })
  }
}
